home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v9n12.arc / D2.BAT < prev    next >
DOS Batch File  |  1990-05-29  |  319b  |  17 lines

  1. D2.BAT
  2.  
  3. @ECHO OFF
  4. SET allfiles=*.*
  5. IF [%1]==[]     GOTO showfiles
  6. SET allfiles=%1*.* *.%1* %1\*.*
  7. IF EXIST %1*.*  GOTO showfiles
  8. IF EXIST *.%1*  GOTO showfiles
  9. IF EXIST %1\*.* GOTO showfiles
  10. ECHO Sorry, no "%1" files found...
  11. GOTO End
  12. :showfiles
  13. FOR %%v IN (%allfiles%) DO ECHO %%v
  14. :End
  15. SET allfiles=
  16.  
  17.